package com.example.cloudcashierpos.bean;

import org.greenrobot.greendao.annotation.Entity;
import org.greenrobot.greendao.annotation.Id;
import org.greenrobot.greendao.annotation.Generated;

@Entity
public class corecmsfoodorderfeed {
    /**
     * 序列
     */
    @Id
    private long id;

    /**
     * 订单详情id
     */
    private Long detailId;

    /**
     * 订单id
     */
    private Long orderId;

    /**
     * 加料id
     */
    private Long feedId;

    /**
     * 数量
     */
    private double quantity;

    /**
     * 价格
     */
    private double price;

    @Generated(hash = 23480099)
    public corecmsfoodorderfeed(long id, Long detailId, Long orderId, Long feedId,
            double quantity, double price) {
        this.id = id;
        this.detailId = detailId;
        this.orderId = orderId;
        this.feedId = feedId;
        this.quantity = quantity;
        this.price = price;
    }

    @Generated(hash = 588178743)
    public corecmsfoodorderfeed() {
    }

    public long getId() {
        return this.id;
    }

    public void setId(long id) {
        this.id = id;
    }

    public Long getDetailId() {
        return this.detailId;
    }

    public void setDetailId(Long detailId) {
        this.detailId = detailId;
    }

    public Long getOrderId() {
        return this.orderId;
    }

    public void setOrderId(Long orderId) {
        this.orderId = orderId;
    }

    public Long getFeedId() {
        return this.feedId;
    }

    public void setFeedId(Long feedId) {
        this.feedId = feedId;
    }

    public double getQuantity() {
        return this.quantity;
    }

    public void setQuantity(double quantity) {
        this.quantity = quantity;
    }

    public double getPrice() {
        return this.price;
    }

    public void setPrice(double price) {
        this.price = price;
    }
}
